package gestionTransportObjetsGenerated;

/**
 * Interface definition : GestionAdherent
 * 
 * @author OpenORB Compiler
 */
public class GestionAdherentPOATie extends GestionAdherentPOA
{

    //
    // Private reference to implementation object
    //
    private GestionAdherentOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public GestionAdherentPOATie(GestionAdherentOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public GestionAdherentPOATie(GestionAdherentOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public GestionAdherentOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(GestionAdherentOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Operation identifierUser
     */
    public gestionTransportObjetsGenerated.Adherent identifierUser(String numAdh)
    {
        return _tie.identifierUser( numAdh);
    }

    /**
     * Operation getAdherent
     */
    public gestionTransportObjetsGenerated.Adherent getAdherent(String numAdh)
    {
        return _tie.getAdherent( numAdh);
    }

    /**
     * Operation inscrireUser
     */
    public gestionTransportObjetsGenerated.Adherent inscrireUser(gestionTransportObjetsGenerated.Adherent adh)
    {
        return _tie.inscrireUser( adh);
    }

    /**
     * Operation verifierAdhDest
     */
    public gestionTransportObjetsGenerated.Adherent[] verifierAdhDest(String nomDest)
    {
        return _tie.verifierAdhDest( nomDest);
    }

}
